package SingleInstance;

public class Test {
    public static void main(String[] args) {
        A a1 = A.getInstance();
        System.out.println(a1);

        B b1 = B.getInstance();
        System.out.println(b1);
    }
}
